package code.test.java.com.fsc.san;

import java.util.Scanner;

public class Temtest {
    public static void main(String[] args) {
//        String name = "John";
//        int age=18;
//        char gender='男';
//        double height=180.9;
//        boolean hunyin=false;
//        System.out.println(name);
//        System.out.println(age);
//        System.out.println(gender);
//        System.out.println(height);
//        System.out.println(hunyin);
//        Scanner sc = new Scanner(System.in);
//        int age = sc.nextInt();
//        System.out.println(age);
//        double height = sc.nextDouble();
//        System.out.println(height);
//        String name=sc.next();
//        System.out.println(name);
//        boolean hunyin=sc.nextBoolean();
//        System.out.println(hunyin);
//    }
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入你的姓名：");
        String name = sc.next();
        System.out.println("请输入你的年龄：");
        int age = sc.nextInt();
        System.out.println("请输入你的性别：");
        String gender = sc.next();
        System.out.println("请输入你的身高：");
        double height = sc.nextDouble();
        System.out.println("请输入你的婚姻：");
        boolean hunyin = sc.nextBoolean();
        System.out.println(name);
        System.out.println(age);
        System.out.println(gender);
        System.out.println(height);
        System.out.println(hunyin);

        byte num=3+4;
//        byte num2=300+1;
        byte num2=(byte)130;
        System.out.println(num2);
        int a=3;
        int b=(++a)+(a++)+a*10;
        System.out.println(b);
        System.out.println("a="+a);
        System.out.println("5+5="+1+0);
    }
}